<template>
<div>
	<van-swipe class="my-swipe" :autoplay="3000" indicator-color="red">
		<van-swipe-item v-for="item in banner" :key="item.id">
			<img :src="item.image_url">
		</van-swipe-item>
		
	</van-swipe>
</div>
</template>

<script>
export default {
	props:['banner']
}
</script>
<style scoped>
  .my-swipe{
	max-width: 100%;
  }
  .van-swipe-item img{
		width: 100%;
	}
</style>